import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as filters from './filters'
// register global utility filters
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
// 引入vant组件库
import Vant from 'vant'
// 使用vant
Vue.use(Vant)
// 引入vant样式
import moment from 'moment'
Vue.use(moment)
import 'vant/lib/index.css'
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
